package com.wx.activitys.drp.EnumUtils;

import java.util.HashMap;
import java.util.Map;

public enum EnumIncomeType {
	注册("register"),分销("distribution"); 
    private final String value;

    private static final Map<String, EnumIncomeType> map = new HashMap<>();

    static {
        for (EnumIncomeType obj : EnumIncomeType.values()) {
            map.put(obj.value, obj);
        }
    }

    EnumIncomeType(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public String toString() {
        return String.valueOf(this.value);
    }
}
